package com.project.service;

import com.project.bean.OrderInfoBean;

import java.util.List;

public interface IOrderInfoService {

    /**
     *
     * @param orderId
     * @return
     */
    List<OrderInfoBean> findByOrderId(Integer orderId);

    /**
     * 添加订单明细
     * @param orderInfoBean
     */
    void add(OrderInfoBean orderInfoBean);

    /**
     * 批量添加订单明细
     * @param orderInfoBeanList
     */
    void addMore(List<OrderInfoBean> orderInfoBeanList);
}
